mod ast;
// mod cli;
mod builtins;
mod evaluator;
mod lexer;
mod object;
mod parser;
mod repl;
mod token;

fn main() {
  /*
  let matches = cli::parse_cli();

  let backend = matches
    .get_one::<String>("backend")
    .expect("need a backend");
  // cargo run -- -b c
  println!("generating code using {:?}", backend);

  // cargo run -- -b c compile main.loki
  match matches.subcommand() {
    Some(("compile", arg_matches)) => cli::compile(arg_matches),
    _ => unreachable!(),
  };
  */

  println!("Develop an Interpreter using Rust Programming.\n");
  repl::start(std::io::stdin(), std::io::stdout());
}
